/**
 * Created by gakuin on 6/17/16.
 */
import {fetchPost} from './httpRequest.js'
import cookie from 'react-cookie'
function session(smid){
    this.smid=smid;
}
module.exports = {

    loggedIn: function() {
        if((cookie.load('smid'))&&(cookie.load('mobile'))&&(cookie.load('o2osign')&&cookie.load('o2osign')!='undefined')){
            return true;
        }else{
            return false;
        }
    }

}

